<?php
namespace Factory;
/**
 * Created by PhpStorm.
 * User: cy
 * Date: 18-1-3
 * Time: 上午9:51
 * 工厂模式
 */
class Factory
{
    static function createMysql()
    {
        $db=Mysql::getInc();
        Register::set('mysql',$db);
    }

}